import request from '@/utils/request'

// 查询无界指标数据列表
export function listUnboundedIndicators(query) {
  return request({
    url: '/business/unboundedIndicators/list',
    method: 'get',
    params: query
  })
}

// 查询无界指标数据详细
export function getUnboundedIndicators(id) {
  return request({
    url: '/business/unboundedIndicators/' + id,
    method: 'get'
  })
}

// 新增无界指标数据
export function addUnboundedIndicators(data) {
  return request({
    url: '/business/unboundedIndicators',
    method: 'post',
    data: data
  })
}

// 修改无界指标数据
export function updateUnboundedIndicators(data) {
  return request({
    url: '/business/unboundedIndicators',
    method: 'put',
    data: data
  })
}

// 删除无界指标数据
export function delUnboundedIndicators(id) {
  return request({
    url: '/business/unboundedIndicators/' + id,
    method: 'delete'
  })
}

// 导出文件
export function exportExcel(data){
  return request({
    url: '/business/unboundedIndicators/export',
    method: 'post',
    data: data
  })
}
